//
//  NSURL+ZQQ.m
//  播放器
//
//  Created by MoDao-iOS on 2017/7/19.
//  Copyright © 2017年 MoDao-iOS. All rights reserved.
//

#import "NSURL+ZQQ.h"

@implementation NSURL (ZQQ)

- (NSURL *)streamingURL {
    NSURLComponents *compents = [NSURLComponents componentsWithString:self.absoluteString];
    compents.scheme = @"sreaming";
    return compents.URL;
}

- (NSURL *)httpURL {
    NSURLComponents *compents = [NSURLComponents componentsWithString:self.absoluteString];
    compents.scheme = @"http";
    return compents.URL;
}
@end
